package com.wzy.db.dao;

import org.springframework.data.jpa.repository.JpaRepository;

import com.wzy.db.model.Person;

public interface PersonDao extends JpaRepository<Person, Long>{

	Person findById(int id);
	
	Person findByName(String name);
	
	
}
